// aisle.h

#ifndef AISLE_H
#define AISLE_H

#include "synch.h"
#include "bool.h"
#include "synch.h"
#include "sharedDefinitions.h"

//Using default copy constructor
class Aisle {
    private:
        int _aisleId;
        int _itemIds[MAX_ITEMS_PER_AISLE]; //Array of item ids in the aisle
        int _itemQty[MAX_ITEMS_PER_AISLE]; //Array of qty for each item
    public:
	int getAisleId(); //Returns the Aisle Id
	void set(int aisleId, int itemIds[]); //Sets the aisle up with and item Id Array 
	bool restockItem(int itemId);//Adds one item to the aisle
	bool pickUpItem(int itemId); //Customer picks up one item from the aisle
	void printStats(); //Prints out the aisle stats
	int findIndex(int itemId); //Used to find the array index on the shelf
};
#endif




